/*
 * @Descripttion: 学生模块接口地址
 * @version: 
 * @Author: hzx
 * @Date: 2021-02-25 17:41:21
 * @LastEditors: hzx
 * @LastEditTime: 2021-03-06 15:12:51
 */
module.exports = app => {
    const { router, controller } = app;
    router.get('/student/index', controller.user.student.index);
    router.get('/student/getStudents', controller.user.student.getStudents);
    router.get('/student/selectStudentId/:stu_id',controller.user.student.selectStudentId);
    router.get('/student/selectClassId/:class_id',controller.user.student.selectClassId);
    router.post('/student/insterStudent',controller.user.student.insterStudent);
    router.post('/student/updateStudent',controller.user.student.updateStudent);
    router.get('/student/delStudent/:stu_id',controller.user.student.delStudent);
}